Skip to content

allow installation with symfony 8 and test with php 8.5#410

Merged
dbu merged 6 commits into3.xfrom
sf8
Mar 23, 2026
Merged

allow installation with symfony 8 and test with php 8.5#410
dbu merged 6 commits into3.xfrom
sf8

Conversation

@dbu
Copy link
Member

@dbu dbu commented Dec 3, 2025

  • fix that flex is not correctly forcing everything to symfony 8 (the symfony 8 builds have some symfony 7.4 packages)
  • we need to rewrite all service configuration from xml to php (use this tool to automate that mostly)

@alexander-schranz
Copy link
Contributor

alexander-schranz commented Jan 13, 2026

fix that flex is not correctly forcing everything to symfony 8 (the symfony 8 builds have some symfony 7.4 packages)

Seems be related to doctrine-bundle version constraint.

composer.json Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"doctrine/doctrine-bundle": "^2.0.3 || ^3.0",

@alexander-schranz
Copy link
Contributor

alexander-schranz commented Feb 7, 2026

additional the doctrine/phpcr-odm requires also an update to support doctrine/persistence 4.

Looks like there is already: doctrine/phpcr-odm#881

@dbu
Copy link
Member Author

dbu commented Mar 18, 2026

yay, build is green. @alexander-schranz do you have the possibility to try this branch in a real application to check for possible BC breaks? there should be none, but we touch quite a few places and test coverage might not be perfect.

@dbu dbu merged commit 1374ca9 into 3.x Mar 23, 2026
8 checks passed
@dbu dbu deleted the sf8 branch March 23, 2026 15:54
@alexander-schranz
Copy link
Contributor

@dbu did run sulu/sulu test suite against latest release, no issues currently.

@dbu
Copy link
Member Author

dbu commented Mar 24, 2026

great. i found out that for routing-bundle, i need to finish up doctrine/phpcr-odm#881 because otherwise we can't install phpcr-odm along with orm in symfony 8... :rabbithole-emoji:

@alexander-schranz
Copy link
Contributor

alexander-schranz commented Mar 24, 2026

Yes the PHPCRBundle also still installs a few Symfony 7.4 deps if look at the CI: https://github.com/doctrine/DoctrinePHPCRBundle/actions/runs/23446723542/job/68212407707

🕳️ 🐇

@dbu
Copy link
Member Author

dbu commented Mar 24, 2026

thanks for the hint.

i had a typo with the symfony version env variable for flex 🤦

will look into it #413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants